yousoph opened a new pull request, #41194:
URL: https://github.com/apache/superset/pull/41194

   ## Summary
   
   In the Table chart's **Customized columns** panel, the D3 format selector 
for temporal columns did not allow users to type a custom format string — they 
were restricted to the predefined dropdown options only.
   
   The root cause: `d3TimeFormat` in `ColumnConfigControl/constants.tsx` was 
missing `allowNewOptions: true`. This prop is what enables free-text entry on 
the `Select` component from `@superset-ui/core/components`. The `creatable: 
true` already present on `d3TimeFormat` is passed to a different Select 
component and has no effect here.
   
   The fix mirrors the existing `d3NumberFormat` behavior, which already has 
`allowNewOptions: true` and correctly accepts free-text format strings.
   
   ## Changes
   
   - 
`superset-frontend/src/explore/components/controls/ColumnConfigControl/constants.tsx`:
 add `allowNewOptions: true` to `d3TimeFormat`
   
   ## Before / After
   
   **Before:** Typing a custom D3 time format string (e.g. `%Y/%m/%d`) in the 
temporal column format field does nothing — only predefined options are 
selectable.
   
   **After:** Users can type any valid D3 time format string and it will be 
applied to the column.
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to