Unwanted warning for NumberEditQuantity of unit='dimensionless'
I have a NumberEditQuantity
defined as follows:
common_beam_mask = Quantity(
type=int,
a_eln={
'component': 'NumberEditQuantity',
'minValue': 0,
'maxValue': 100,
},
unit='dimensionless',
)
In the GUI, when I click and select the "Unit" div, and then un-select by clicking elsewhere, a warning in red pops up "Unit is required" (attaching a screencast). The warning is not desirable in this case.
The issue was originally raised in Discord.