GravityView icon indicating copy to clipboard operation
GravityView copied to clipboard

GravityView View Gutenberg Block: "Sort Field" Accepts Only Numeric Input

Open bennemann opened this issue 10 months ago • 1 comments

The "Sort Field" in the block's "Extra Settings" should also accept strings:

image

That's important so people can sort by entry meta such as date_created and not only field IDs.

Ideally, this should be a field selector instead of a text input, like the one used to select the View in the Main Settings of the block.

bennemann avatar Apr 24 '24 11:04 bennemann

https://secure.helpscout.net/conversation/2578811951/54024/

bennemann avatar Apr 24 '24 11:04 bennemann

@omarkasem,

  1. The new select field is 10px taller than the similar View select field.
  2. There is a border around the input text that shouldn't be there; please use the same style as the View select field:

CleanShot 2024-07-02 at 13 56 50

mrcasual avatar Jul 02 '24 18:07 mrcasual

@mrcasual All done with the latest commit

omarkasem avatar Jul 13 '24 06:07 omarkasem