Hi guys
Any one knows how to show the label instead of value for JetEngine’s Radio fields?
Sorry @timmse for mentioning, its necessary question
Thank you
same +1
thank you
best greetz
david
@Mehdimoradi
Is in your case Number oder Char Value?
I have Char Value and did the same Char value than Char Label (whats not so recommended) but it worked
If its a number value so is still missing the callback to Label
Yes i did the same (as u said not recommended) but hope to be able select between label and value
ok nice
yes would be better
Hi @timmse is it possible to answer this question…
How can i output the label instead of value in JetEngine?
Hi @timmse same issue for me with number fields. Is there a solution/workaround?
At the moment we can use Jetengine’s widget for bricks, we can filter the output as we want! but there is a performance issue with their widgets.
Each widget wrapped with at least one div, for example if you want to output h1, it will be wrapped by extra div!
So if we have 20 posts in a page and each card 5 contains 5 dynamic field, it will be 100 extra div (extra doms).
I contacted the support of JE but they say we don’t have a solution at the moment.
So i believe we need bricks team to make some filters for dynamic tags of Jetengine
Hi Mehdi,
Sorry for the late reply. This is not a Bricks issue, since JetEngine saves only the option value to the database. The description text shows that.
Option Value
This value will be saved into DatabaseOption label
This will be shown for user on Post edit page
Also, if you call the field with PHP, you’ll get the same result:
<?php
echo get_post_meta( get_the_ID(), 'your-field-key', true );
echo jet_engine()->listings->data->get_meta( 'your-field-key' );
?>
@galasio : How can you have the same problem if the number field consists only of the value (i.e. the number)?
@timmse Thank you for your answer. I also just meant to get the label of a number field, but it’s the same issue like you ellaborate above.