Skip to content

feat: value_class field option#32

Merged
blocknotes merged 1 commit intomainfrom
feat/value_class-field-option
May 7, 2023
Merged

feat: value_class field option#32
blocknotes merged 1 commit intomainfrom
feat/value_class-field-option

Conversation

@blocknotes
Copy link
Owner

@blocknotes blocknotes commented May 7, 2023

Support value_class field option.

Usage example (inside index or show):

      attributes:
        - field: state
          method: upcase
          options: value_class

HTML result:

<td class="field-value-state field-value-type-integer">
  <span class="value-available">AVAILABLE</span>
</td>

@blocknotes blocknotes added the enhancement New feature or request label May 7, 2023
@blocknotes blocknotes self-assigned this May 7, 2023
@blocknotes blocknotes marked this pull request as ready for review May 7, 2023 09:07
@blocknotes blocknotes merged commit cdfcc4f into main May 7, 2023
@blocknotes blocknotes deleted the feat/value_class-field-option branch May 7, 2023 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant