Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

formatValueWidget non appliqué lors d'un refresh d'une valeur numérique #2153

Closed
frixo3190 opened this issue Jan 18, 2023 · 0 comments
Closed
Labels
->Community Please use community for issues

Comments

@frixo3190
Copy link
Contributor

$display_value = $this->formatValueWidget($value); } else if ($this->getSubType() == 'binary' && $this->getDisplay('invertBinary') == 1) { $display_value = ($value == 1) ? 0 : 1; } else if ($this->getSubType() == 'numeric' && trim($value) === '') { $display_value = 0; } else if ($this->getSubType() == 'binary' && trim($value) === '') { $display_value = 0; } if ($this->getSubType() == 'numeric') { $valueInfo = self::autoValueArray($value, $this->getConfiguration('historizeRound', 99), $this->getUnite());

on devrait avoir

`$valueInfo = self::autoValueArray($display_value , $this->getConfiguration('historizeRound', 99), $this->getUnite());``

@frixo3190 frixo3190 mentioned this issue Jan 18, 2023
6 tasks
@KiboOst KiboOst added the ->Community Please use community for issues label Jan 19, 2023
@KiboOst KiboOst closed this as completed Jan 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
->Community Please use community for issues
Projects
None yet
Development

No branches or pull requests

2 participants