Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
powderflask committed Nov 23, 2023
1 parent e0e1d8a commit 9f2c775
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,10 @@ or
* [GitHub Actions](https://docs.github.com/en/actions) (see [.github/workflows](https://github.com/powderflask/django-fmft/tree/master/.github/workflows))
* [GitHub Webhooks](https://docs.github.com/en/webhooks) (see [settings/hooks](https://github.com/powderflask/django-fmft/settings/hooks))

### Known Issues
* hidden form fields are rendered in first form field column - can't have dynamically hidden fields,
hidden on some rows while visible in others, without a little magic.
### TODO
My wish list...
* write test for case where form field is not included in table
Expand Down
2 changes: 1 addition & 1 deletion fmft/formset_tables.py
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ def from_column(
"""
config = dict(
verbose_name=other.verbose_name,
accessor=str(other.accessor),
accessor=str(other.accessor) if other.accessor else None,
default=other._default, # HACK - access to table protected member
visible=other.visible,
orderable=other.orderable,
Expand Down

0 comments on commit 9f2c775

Please sign in to comment.