on 2020 Sep 03 2:10 PM
Hi expert,
I create single date field in smart filter by using the entity type. Although I set the date format "YYYY/MM/DD" . The place holder of the field show "y/MM/dd" . I set the display-format as date in MPC_EXT . How can I change the place holder as 'YYYY/MM/DD' or not to show .
<SmartFilterBar id='smartFilter' entitySet='XXX'>
<ControlConfiguration key='budat' mandatory='mandatory' filterType='Single' controlType='auto'/>
</SmartFilterBar>
If I set 'YYYY/MM/DD' in the place holder of custom control in my filter field , it show correctly . But the field change to custom field and doesn't work as the field of entity type.
<SmartFilterBar id='smartFilter' entitySet='XXX'>
<ControlConfiguration key='budat' mandatory='mandatory' filterType='Single' controlType='auto'>
<customControl>
<DatePicker id='Budat' placeholder='YYYY/MM/DD'>
</customControl>
</ControlConfiguration>
</SmartFilterBar>
Thanks and Best Regards,
Phyo
Request clarification before answering.
Hi PhyoPa,
Did you fix this issue? And whether has another method to change placeholder?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Yugang Li,
I used this properties.
<smartFilterBar:ControlConfiguration key="Date" mandatory="mandatory" filterType="single" controlType="date" label="Issued Date"
visibleInAdvancedArea="true" groupId="_BASIC" index='3'>
<smartFilterBar:customControl >
<DatePicker id="Date" placeholder="yyyy/MM/dd" change="onChange"/>
</smartFilterBar:customControl>
User | Count |
---|---|
88 | |
10 | |
9 | |
8 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.