[MGNLUI-6647] defaultValue does not work for textField used in filterComponent of column definition Created: 06/Apr/21  Updated: 14/Jan/22  Resolved: 17/Dec/21

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: 6.2.7
Fix Version/s: 6.2.15

Type: Bug Priority: Neutral
Reporter: Viet Nguyen Assignee: Sang Ngo Huu
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: 2d 1h
Original Estimate: Not Specified

Issue Links:
causality
Template:
Acceptance criteria:
Empty
Task DoD:
[X]* Doc/release notes changes? Comment present?
[X]* Downstream builds green?
[X]* Solution information and context easily available?
[X]* Tests
[X]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[X]* Steps to reproduce, expected, and actual results filled
[X]* Affected version filled
Documentation update required:
Yes
Date of First Response:
Epic Link: Column filtering
Sprint: UI Maintenance 3
Story Points: 3

 Description   

Steps to reproduce

  1.  Column Filters: defaultValue of TextField does not work.
  2.  Configure a column with filter like below:
              columns:
                jcrName: &jcrNameColumn
                  $type: jcrTitleColumn
                  nodeTypeToIcon:
                    mgnl:page: icon-webpages-app
                title: &titleColumn
                  filterComponent:
                    $type: textField
                    defaultValue: Tour
    

Expected results

  • The "title" column using textField which has defaultValue as "Tour" that should auto filling when app/dialog opened.

 

Actual results

  • Does not work


 Comments   
Comment by Roman Kovařík [ 03/Dec/21 ]

Estimated: support for simple values (text, checkbox), update the docu.

Comment by Ashraf Khamis [ 20/Dec/21 ]

Doc update: https://git.magnolia-cms.com/projects/DOCUMENTATION/repos/product-docs/pull-requests/800/overview and https://git.magnolia-cms.com/projects/DOCUMENTATION/repos/product-docs/pull-requests/806/overview

Generated at Mon Feb 12 09:38:35 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.