set max length on metafield input