Why there are restrictions on the values for input fields in the form of a dictionary element?

1C 8.3, UPP 1.3 (a regular application).
Created in the form of a dictionary element input field Classesii and tied him up with the props directory. Also made this field is available only if this option is Laser marking. In addition, set this field to the minimum and maximum values (the same minimum and maximum value set for props).
5c98b31dd2b3d079832150.png
The problem is that it doesn't work.
I go to user mode and when you open the form element of the directory, see the following:
5c98b5c526bac744473562.png
In the field Classesii is 0, even though he can't stand there. Moreover, if you make all fields active, clicking on the checkbox, and then click OK, then the form will close, and the props will remain 0.
I wish 0 could not stand in the field Classesii, regardless of its availability on the form.
Maybe the problem is that in the properties of the props Classesii reference field is a padding Value and there is 0? How to make a padding value by default it was empty?
March 19th 20 at 08:28
1 answer
March 19th 20 at 08:30
Type your requisite "security Type" is a number. The default value for number is zero. A padding value allows you to specify a value different from the default values when you first open. You can set the desired value in the Ajar procedure for the new item.

If you open and write should be "blank" instead of zero, set your background type, not a number... don't even know what you need... perhaps a string.
Why then props remains 0 if the minimum value allowed for the props (and the field) is equal to 10? - benton_Johnston82 commented on March 19th 20 at 08:33
If you open and write should be "blank" instead of zero, set your props type not a number

That is, for a numeric field and the properties you cannot set an empty default value? In the same database it is possible for numeric fields set to NULL. - benton_Johnston82 commented on March 19th 20 at 08:36
@benton_Johnston82, the minimum value is a limit for the operator to enter on the form.

That is, for a numeric field and the properties you cannot set an empty default value?
I repeat, zero is the default value for the type number.

In the same database it is possible for numeric fields set to NULL.
Do not generalize. The more versatile the database the more likely it is that the fields have the ability to NULL. But in the primitive bases (like dBase IV) behavior is the same as in 1S - created in the existing database a new column of numeric type and immediately got a zero-fill. - katrine_Me commented on March 19th 20 at 08:39
Exit ask limit does not have a form element, and props! =) - morton.OHara20 commented on March 19th 20 at 08:42
@morton.OHara20, the limitations of the props directory and the form element are identical. - benton_Johnston82 commented on March 19th 20 at 08:45
@benton_Johnston82,
A screenshot?! - morton.OHara20 commented on March 19th 20 at 08:48

Find more questions by tags 1C-Enterprise