carfup / XTBPlugins.PCF2BPF

Add PCF controls to your BPF in few clicks !
GNU General Public License v3.0
4 stars 0 forks source link

Checkbox controls do not display field value when checked or unchecked #15

Open dfretyhg opened 2 years ago

dfretyhg commented 2 years ago

On when using the checkbox control on yes/no fields, the text beside the checkbox should be the value corresponding to the selection (Yes/no or otherwise if changed in dataverse). Instead it displays cut off text saying "Don't show this again"

carfup commented 2 years ago

Hi, Thanks for reporting the issue. Would you have a screenshot to help figure this out ?

dfretyhg commented 2 years ago
Dynamics BPF 1 Dynamics BPF 2 PCF BPF checkbox configuration

Here are a few shots. I've attached my configuration from the tool and screenshots of the box both checked and unchecked on the BPF. The box works fine as seen on the form, but the labels should be changing from No to Yes like it does on the main form. The field's logical name is new_bitfield and there are no javascript libraries on the BPF form, though there is a library on the main form. I tried messing with the static option, but that occasionally breaks the BPF and blocks it from displaying entirely in the app.

carfup commented 2 years ago

Thanks for the details.

If I'm not mistaken that control is deprecated and needs to be replaced by the "ToggleControl".

Let me check that info tomorrow. It's late in France right now :)