-
Is there any way to override the "select" type widget ?
like the above code, after I add operators then the options like "TODAY", "YESTERDAY", "CURRENT_WEEK" are disappeared on UI. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 9 replies
-
Please use operator |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Hi, @ukrbublik, Sorry , my bad, I will explain the specification clearly as following Now I have a date field called assign_date, and there are two sub-fields for this assign_date field, one sub-field is that user can choose real date value, and the other is that user can choose some defined macro values (ex: TODAY, TOMORROW, YESTERDAY). so the structure will be like Main Field...........................................Sub-field..................Operator......................................Value assign_date........................................ Value..........................=, <, <=, >, >= ......................2023-03-01 The first sub-field I can use date type to deal with it, so my question falls on the second sub-field which is Macro part and because of the structure above that is why I need to use Select type with (<, <=, >, >=) for those defined macro values in the second sub-field Macro. and currently the field config for the sub-field Macro is:
|
Beta Was this translation helpful? Give feedback.
Hi, @ukrbublik, Sorry , my bad, I will explain the specification clearly as following
Now I have a date field called assign_date, and there are two sub-fields for this assign_date field, one sub-field is that user can choose real date value, and the other is that user can choose some defined macro values (ex: TODAY, TOMORROW, YESTERDAY).
so the structure will be like
Main Field...........................................Sub-field..................Operator......................................Value
assign_date........................................ Value..........................=, <, <=, >, >= ......................2023-03-01
...............................................................…